
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">cart</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-category"></i>
                    <div class="name">Category</div>
                    <div class="fontclass">.icon-category</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cry"></i>
                    <div class="name">cry</div>
                    <div class="fontclass">.icon-cry</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-delete"></i>
                    <div class="name">delete</div>
                    <div class="fontclass">.icon-delete</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit"></i>
                    <div class="name">edit</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-form"></i>
                    <div class="name">form</div>
                    <div class="fontclass">.icon-form</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-atm"></i>
                    <div class="name">atm</div>
                    <div class="fontclass">.icon-atm</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinlingyingcaiwangtubiao15"></i>
                    <div class="name">帮助</div>
                    <div class="fontclass">.icon-jinlingyingcaiwangtubiao15</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-attachment"></i>
                    <div class="name">attachment</div>
                    <div class="fontclass">.icon-attachment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-4column"></i>
                    <div class="name">4column</div>
                    <div class="fontclass">.icon-4column</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-process"></i>
                    <div class="name">process</div>
                    <div class="fontclass">.icon-process</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bags"></i>
                    <div class="name">bags</div>
                    <div class="fontclass">.icon-bags</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-scanning"></i>
                    <div class="name">scanning</div>
                    <div class="fontclass">.icon-scanning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiebaofushi"></i>
                    <div class="name">鞋包服饰</div>
                    <div class="fontclass">.icon-xiebaofushi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-operation"></i>
                    <div class="name">operation</div>
                    <div class="fontclass">.icon-operation</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-map"></i>
                    <div class="name">map</div>
                    <div class="fontclass">.icon-map</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tubiao"></i>
                    <div class="name">手机</div>
                    <div class="fontclass">.icon-tubiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-accountfilling"></i>
                    <div class="name">account-filling</div>
                    <div class="fontclass">.icon-accountfilling</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zheng"></i>
                    <div class="name">正</div>
                    <div class="fontclass">.icon-zheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-4"></i>
                    <div class="name">母婴</div>
                    <div class="fontclass">.icon-4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-kefu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-save"></i>
                    <div class="name">save</div>
                    <div class="fontclass">.icon-save</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontmeizhuangrihua"></i>
                    <div class="name">iconfont-meizhuangrihua</div>
                    <div class="fontclass">.icon-iconfontmeizhuangrihua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontshipin"></i>
                    <div class="name">iconfont-shipin</div>
                    <div class="fontclass">.icon-iconfontshipin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye"></i>
                    <div class="name">购物车</div>
                    <div class="fontclass">.icon-shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfonticon2"></i>
                    <div class="name">保健</div>
                    <div class="fontclass">.icon-iconfonticon2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiebao"></i>
                    <div class="name">鞋包</div>
                    <div class="fontclass">.icon-xiebao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaosanjiaodown"></i>
                    <div class="name">小三角down</div>
                    <div class="fontclass">.icon-xiaosanjiaodown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-homeline"></i>
                    <div class="name">home_line</div>
                    <div class="fontclass">.icon-homeline</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-haiwai"></i>
                    <div class="name">海外</div>
                    <div class="fontclass">.icon-haiwai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shumajiadian"></i>
                    <div class="name">数码家电</div>
                    <div class="fontclass">.icon-shumajiadian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tui"></i>
                    <div class="name">退</div>
                    <div class="fontclass">.icon-tui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gehujiaju-changtai"></i>
                    <div class="name">个护家居-常态</div>
                    <div class="fontclass">.icon-gehujiaju-changtai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-free-shipping"></i>
                    <div class="name">邮</div>
                    <div class="fontclass">.icon-free-shipping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-meishi"></i>
                    <div class="name">美食</div>
                    <div class="fontclass">.icon-meishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-flag_fill"></i>
                    <div class="name">flag_fill</div>
                    <div class="fontclass">.icon-flag_fill</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
